﻿using System.Xml.Linq;
using TVersityDotNet.HelperTypes;
using TVersityDotNet.Responses;

namespace TVersityDotNet.Requests
{
    public class DescriptionFetchRequest : TVersityRequest
    {
        public DescriptionFetchRequest()
        {
            base.Path = "description/fetch";            
        }

        public override TVersityResponse CreateResponse(XDocument xmlDocument)
        {
            DescriptionFetchResponse response = new DescriptionFetchResponse(xmlDocument);
            return response;
        }
    }
}
